[paket]
tanim   = Taşınabilir şifreleme TLS kitaplığı
paketci = milisarge
grup    = kütüphane
url     = https://tls.mbed.org

[gerek]
derleme = cmake python
calisma =

[kaynak]
github  = ARMmbed/mbedtls

;[sha256]
;1       = 294871ab1864a65d0b74325e9219d5bcd6e91c34a3c59270c357bb9ae4d5c393

[derle]
betik   = ./scripts/config.pl set MBEDTLS_THREADING_C
betik   = ./scripts/config.pl set MBEDTLS_THREADING_PTHREAD
ekconf  = -DENABLE_TESTING=1 -DUSE_SHARED_MBEDTLS_LIBRARY=1
tip     = cmake

[pakur]
tip     = cmake
betik   = for _prog in $PKG/usr/bin/*; do _baseprog=$(basename "$_prog"); mv -v "$_prog" "${_prog//$_baseprog/mbedtls_$_baseprog}"; done
betik   = chmod 644 $PKG/usr/lib/*.a
